import { IRoute } from "@umijs/core";

const routes: IRoute[] = [
    {
        path: "/",
        component: "./index.tsx",
        title: "RPA",
        routes: [
            {
                path: "/",
                redirect: "/applications",
            },
            {
                path: "/applications",
                component: "./applications",
            },
            {
                path: "/history",
                component: "./history",
            },
            {
                path: "/log",
                component: "./log",
            },
        ],
    },
];

export default routes;
